package com.boot2523.service;

import com.boot2523.bean.Admin;
import com.boot2523.mapper.AdminMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AdmiS implements AdminMapper {
    @Resource
    public AdminMapper am;
    @Override
    public Admin one(String name, String pwd) {
        return am.one(name,pwd);
    }
}
